<?php

class NewForgtPasswordForm extends UserForm
{

    public function configure()
    {
        parent::configure();
        $this->getValidator('password')->addOption('required', true);
        $this->useFields(array('password', 're_password'));

//        $this->getValidatorSchema()->setPostValidator(new sfValidatorSchemaCompare('password', sfValidatorSchemaCompare::EQUAL, 're_password', array(), array('invalid' => 'New passwords do not match.')));
    }

}

